#ifndef MY_RENDER_DRAWER
#define MY_RENDER_DRAWER

#include <GLFW/glfw3.h>

#include <iostream>
#include <mutex>

#include "../result.hpp"
#include"./screen.hpp"


namespace drawer{
    Result<GLFWwindow*,string> initDrawer(int width,int height);
    void destroyDrawer(GLFWwindow* window);
    void loopDraw(GLFWwindow* window, Screen& screen, std::mutex& screen_mutex);
}

#endif